package com.elong.spring.data.dao;

import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;

import com.elong.spring.data.bean.Customer;

/**
 * CustomerRepository
  * @Title: CustomerRepository
  * @Desription 
  * @author Guanguo.Gao
  * @date 2015年3月13日 下午3:52:24
 */
public interface CustomerRepository extends MongoRepository<Customer, String>{

    public Customer findByFirstName(String firstName);
    
    public List<Customer> findByLastName(String lastName);
}
